package com.demo.mqtt.common.enums;

/**
 * @program: mqtt-demo
 * @description: QOS
 * @author: liuYunKai
 * @create: 2021-03-23 11:58
 */

public enum QosEnum {

    QOS0(0),
    QOS1(1),
    QOS2(2);

    private final int value;

    QosEnum(int qos) {
        this.value = qos;
    }

    public int value() {

        return this.value;
    }


}
